package com.xiaochi.auth.domain.convert;

import com.xiaochi.auth.domain.entity.AuthUserBO;
import com.xiaochi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zqx
 * @since 2024/8/28
 */
@Mapper
public interface AuthUserBOConverter {

    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser authBOToEntity(AuthUserBO authUserBO);

    AuthUserBO authEntityToBo(AuthUser authUser);
}
